package com.zzx.project.service.impl;

import com.zzx.project.dao.MaximDao;
import com.zzx.project.entity.Maxim;
import com.zzx.project.service.MaximService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class MaximServiceImpl implements MaximService { //格言Service实现类

    @Autowired
    MaximDao maximDao;

    @Override
    public Maxim getNewMaxim() {
        return maximDao.getNewMaxim();
    }
}
